projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73c8f30
)
gtktextlayout: fix to quiet a warning
author
Sebastien Lafargue
<slafargue@gnome.org>
Thu, 18 Dec 2014 20:00:45 +0000
(21:00 +0100)
committer
Sebastien Lafargue
<slafargue@gnome.org>
Thu, 18 Dec 2014 20:00:45 +0000
(21:00 +0100)
Gcc complains about a possible use of a not initialised
widget ref ( which can't happen in reality )
https://bugzilla.gnome.org/show_bug.cgi?id=741702
gtk/gtktextlayout.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextlayout.c
b/gtk/gtktextlayout.c
index 55a0e1254bf4770d5af6153713c0d9bf62ca3882..da3a0e8de2dbbb64ccc362779c1a13db38761604 100644
(file)
--- a/
gtk/gtktextlayout.c
+++ b/
gtk/gtktextlayout.c
@@
-1640,7
+1640,7
@@
add_child_attrs (GtkTextLayout *layout,
PangoRectangle logical_rect;
gint width, height;
GSList *tmp_list;
- GtkWidget *widget;
+ GtkWidget *widget
= NULL
;
width = 1;
height = 1;